-- GENERATED SPELL FOR [Wrath Lord] --


function spell0_20929(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(15496,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20929', 582, 1)
end

function Sorts_20929(pUnit, Event)
local choix_sorts_20929 = math.random(0, 0)
if choix_sorts_20929 == 0 then
pUnit:RegisterEvent('spell0_20929', 1, 1)
end
end

function mob20929_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20929', math.random(1500, 3000), 1)
end

function mob20929_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20929_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20929_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20929, 1, 'mob20929_Action')
RegisterUnitEvent(20929, 2, 'mob20929_Leave')
RegisterUnitEvent(20929, 3, 'mob20929_Kill')
RegisterUnitEvent(20929, 4, 'mob20929_Die')
